package org.zsl.mybatis.model;

public class Product {

    private Integer productId;
    private String name;
    private Integer price;

    private Boolean isUsed;

    public Boolean getUsed() {
        return isUsed;
    }

    public void setUsed(Boolean used) {
        isUsed = used;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }


    @Override
    public String toString() {
        return "id:" + this.productId+";name:"+this.name+";price:"+this.price;
    }
}
